package com.bf.electroplating.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 进水管控管理表
 * </p>
 *
 * @author gzd
 * @since 2025-08-21
 */
@Getter
@Setter
@TableName("inflow_management")
@Schema(description = "进水管控管理表")
public class InflowManagement implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @TableField(fill = FieldFill.INSERT)
    private String parkId;

    @TableField(fill = FieldFill.INSERT)
    private String companyId;

    @Schema(description ="公司名称")
    @TableField("COMPANY_NAME")
    private String companyName;

    @Schema(description ="废水类型")
    @TableField("WASTE_WATER_TYPE")
    private String wasteWaterType;

    @Schema(description ="是否监控六价铬")
    @TableField("MONITOR_HEXAVALENT_CHROMIUM")
    private String monitorHexavalentChromium;

    @Schema(description ="六价铬阈值")
    @TableField("HEXAVALENT_CHROMIUM_THRESHOLD")
    private BigDecimal hexavalentChromiumThreshold;

    @Schema(description ="是否监控总铬")
    @TableField("MONITOR_TOTAL_CHROMIUM")
    private String monitorTotalChromium;

    @Schema(description ="总铬阈值")
    @TableField("TOTAL_CHROMIUM_THRESHOLD")
    private BigDecimal totalChromiumThreshold;

    @Schema(description ="是否监控总镍")
    @TableField("MONITOR_TOTAL_NICKEL")
    private String monitorTotalNickel;

    @Schema(description ="总镍阈值")
    @TableField("TOTAL_NICKEL_THRESHOLD")
    private BigDecimal totalNickelThreshold;

    @Schema(description ="六价铬值")
    @TableField("HEXAVALENT_CHROMIUM_VALUE")
    private BigDecimal hexavalentChromiumValue;

    @Schema(description ="总铬值")
    @TableField("TOTAL_CHROMIUM_VALUE")
    private BigDecimal totalChromiumValue;

    @Schema(description ="总镍值")
    @TableField("TOTAL_NICKEL_VALUE")
    private BigDecimal totalNickelValue;

    @Schema(description ="检测日期")
    @TableField("DETECTION_DATE")
    private LocalDate detectionDate;

    @Schema(description ="补充检测")
    @TableField("SUPPLEMENTARY_DETECTION")
    private String supplementaryDetection;

    @TableField(fill = FieldFill.INSERT)
    private String createBy;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private String delFlag;
}
